<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragment/Headfragment::Headfragment">
</head>

<body>

<div class="container-scroller">
    <!-- partial:../../partials/_navbar.html -->
    <nav th:replace="fragment/CustomerPageHeadframent::CustomerPageHeadframent"></nav>
    <!-- partial -->
    <div class="container-fluid page-body-wrapper">
        <!-- partial:../../partials/_sidebar.html -->
        <nav th:replace="fragment/CustomerPageSidebarfragment::CustomerPageSidebarfragment"></nav>
        <!-- partial -->
        <div class="main-panel">
            <div class="page-header">
                <h3 class="page-title">
              <span class="page-title-icon bg-gradient-primary text-white mr-2">
                <i class="mdi mdi-home"></i>
              </span>
                    主页
                </h3>
                <nav aria-label="breadcrumb">
                    <ul class="breadcrumb">
                        <li class="breadcrumb-item active" aria-current="page">
                            <span></span>Overview
                            <i class="mdi mdi-alert-circle-outline icon-sm text-primary align-middle"></i>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="col-12 grid-margin stretch-card">
                <div class="card">
                    <div class="card-body">
                        <h4 class="card-title">基本信息</h4>
                        <p class="card-description">
                            个人信息
                        </p>
                        <form action="/customerInfo/CustomerPersonal" method="post" class="forms-sample">
                            <div class="form-group">
                                <label for="exampleInputName1">姓名</label>
                                <input type="text" class="form-control" id="exampleInputName1" placeholder="Name" th:value="${session.customerInfo1.getRealname()} " name="realname">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputEmail3">Email address</label>
                                <input type="email" class="form-control" id="exampleInputEmail3" placeholder="Email" th:value="${session.customerInfo1.getEmail()}" name="email">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword4">电话号码</label>
                                <input type="text" class="form-control" id="exampleInputPassword4" placeholder="Phone" th:value="${session.customerInfo1.getPhone()}" name="phone">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword4">公司</label>
                                <input type="text" class="form-control" id="exampleInputCompany" placeholder="Company" th:value="${session.customerInfo1.getCompany()}" name="company">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword4">公司地址</label>
                                <input type="text" class="form-control" id="exampleInputAddress" placeholder="Address" th:value="${session.customerInfo1.getAddress()}" name="address">
                            </div>
                            <div class="template-demo" align="center">
                                <button type="submit"  class="btn btn-gradient-danger btn-lg" >确认</button>
                                <a class="btn btn-outline-secondary btn-lg "  href="CustomerSelf" >取消</a>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <!-- partial -->
        </div>
        <!-- main-panel ends -->
    </div>
    <!-- page-body-wrapper ends -->
</div>
<!-- container-scroller -->
<!-- plugins:js -->
<script src="vendors/js/vendor.bundle.base.js"></script>
<script src="vendors/js/vendor.bundle.addons.js"></script>
<!-- endinject -->
<!-- Plugin js for this page-->
<!-- End plugin js for this page-->
<!-- inject:js -->
<script src="js/off-canvas.js"></script>
<script src="js/misc.js"></script>
<!-- endinject -->
<!-- Custom js for this page-->
<!-- End custom js for this page-->
</body>

</html>
